package com.example.demo.mapper;

import com.example.demo.model.ArticleInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface ArticleInfoMapper {

    // update
    public int upArticle(int id,String content,Integer rcount,String title);

    //
    public List<ArticleInfo> getListByTitleOrUId(String title, Integer uid);

    public ArticleInfo getArticleByAid(int aid);
}
